package App.Model.Project;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by xw on 2018/11/27.
 */
public class ProjectMember {

    @ApiModelProperty(value = "recid")
    private String recid;

    @ApiModelProperty(value = "clientid")
    private String clientid;

    //用户id
    @ApiModelProperty(value = "用户id",required = true)
    private int userid;

    //用户名
    @ApiModelProperty(value = "用户名")
    private String username;

    //组id
    @ApiModelProperty(value = "组id")
    private String groupid;

    //是否是管理员
    @ApiModelProperty(value = "是否是管理员",required = true)
    private boolean ismanager;

    //成员所属分组类型
    @ApiModelProperty(value = "成员所属分组类型",required = true)
    private int grouptype;

    @ApiModelProperty(value = "innergrouptype",required = true)
    private int innergrouptype;

    //是否是主办人
    @ApiModelProperty(value = "是否是主办人",required = true)
    private boolean ishost;
    @ApiModelProperty(value = "头像")
    private  String headimage;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }

    public int getUserid() {
        return userid;
    }

    public String getUseridStr() {
        return String.format("%s", userid);
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public boolean getIsmanager() {
        return ismanager;
    }

    public void setIsmanager(boolean ismanager) {
        this.ismanager = ismanager;
    }


    public int getGrouptype() {
        return grouptype;
    }

    public void setGrouptype(int grouptype) {
        this.grouptype = grouptype;
    }

    public int getInnergrouptype() {
        return innergrouptype;
    }

    public void setInnergrouptype(int innergrouptype) {
        this.innergrouptype = innergrouptype;
    }


    public boolean getIshost() {
        return ishost;
    }

    public void setIshost(boolean ishost) {
        this.ishost = ishost;
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage;
    }

}
